From: | Oliver Roberts |
Date: | 20 Aug 99 at 13:08:22 |
Subject: | Re: Recognizing an 060 |
From: "Oliver Roberts" <oliver.roberts@iname.com>
Hi Richard,
On 20-Aug-99 10:45:36 BST, Richard Drummond wrote:
> Does anybody know the proper way to check whether a piece of software is
> running on an 060 (with an 060 FPU)?
>
> I assume that SetPatch sets the ExecBase->AttnFlags to some appropriate
> value, but since the V40 includes only define flags up up to an 040, I'm
> a bit stuck. My machine reports the contents of AttnFlags as 0x80FF. I
> know what the least significant 7 bits are for - what about the rest?
This little snippet of code should sort you out...
/* CPU DETECTION */
// define appropriate bit for 68060
#define AFF_68060 (1L<<7)
long CheckCPU(void)
{
}
Amiga F1GP Mailing List ==> To: majordomo@thule.no; "subscribe amigaf1gp"